package com.css.fxfzysx.modules.vabStructure.service;

import com.css.fxfzysx.base.response.RestResponse;
import org.apache.http.HttpResponse;
import org.apache.regexp.RE;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

@Service
public interface SrcAnalyseService {

    public Map<String, List> calculatesResult(Map<String,Object> listMap) throws Exception;

    public Map<String,List> queryResult(String calId);

    public void saveModel(String calId);

    public void reCalculates(String calIds) throws Exception;

    public void importCrsBuildings(String calIds, HttpServletResponse response);

    /**
     * 新的计算接口。
     * @param list 将柱参数，梁参数、填充墙、剪力墙参数放到list中传过来。
     *
     * @return
     */
    public RestResponse calculate(List<List> list) throws Exception;

}
